.root{

}

#bg{
    background-size: cover;
    width: 100%;
    height:700px;
    position:absolute;
    left: 0;
    top: 0;
    z-index:1;
}

/*logo样式*/
.navbar-brand{
    width: 180px;
    height: 48px;
    padding-left:6px;
    font-size: 23px;
    font-style:italic;
    font-weight: bold;
    font-family:sans-serif;
}

.main{
    position: absolute;
    top: 0;
    background: rgb(229, 253, 229);
    background: linear-gradient(90deg, rgb(230, 254, 229) 0%, rgb(220, 231, 255) 100%);
}

.top{
    position:absolute;
    width:100%;
    right:0;
}

#weather {
    /*只有绝对布局才可以使用z-index*/
    position: absolute;
    top: 75px;
    right: 24px;
    z-index: 1;
    background-color: rgba(0,0,0,0.25);
    border-radius: 15px;
}

#today-lesson {
    position: absolute;
    padding-left:20px;
    padding-right:20px;
    font-size: 18px;
    color: white;
    top: 120px;
    right: 24px;
    z-index: 1;
    background-color: rgba(0,0,0,0.25);
    border-radius: 15px;
}

#weather-info {
    position: absolute;
    top: 0;
    right: 210px;
    z-index: 1;
    display: none;
    border-radius: 5px;
}

#today-lesson-info {
    position: absolute;
    top: 120px;
    right: 185px;
    z-index: 1;
    display: none;
    border-radius: 5px;
}

#weather:hover #weather-info {
    display: block;
    animation: info-animation 0.5s 1;
}

#today-lesson-div:hover #today-lesson-info {
    display: block;
    animation: info-animation 0.5s 1;
}

.today-lesson-item {
    color: white;
    border-radius: 15px;
    margin-bottom: 10px;
    padding:10px;
}

@keyframes info-animation {
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
}

@-moz-keyframes info-animation /* Firefox */
{
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
}

@-webkit-keyframes info-animation /* Safari 和 Chrome */
{
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
}

@-o-keyframes info-animation /* Opera */
{
    from {
        opacity: 0;
    }
    to {
        opacity: 100%;
    }
}

#today-info{
    width: 100%;
    height: 700px;
    background-color: transparent;
    text-align: center;
}

/*参考腾讯首页*/
#today-info .text{
    color: white;
    font-size:50px;
    font-style:italic;
    font-weight: bold;
    width: 60%;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    z-index:1;

    /*神秘居中代码，设置了这个可以让绝对布局居中*/
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}

.background-copyright{
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    font-size: small;
    background-color: rgba(0,0,0,0.5);
    z-index:1;
}

/*介绍文字*/
.introduction-total,
.introduction-linian{
    margin-top:780px;
    text-align:center;
    font-size:20px;
    color:#505050;
}

/*鼠标滑过向上移动*/
.introduction-version .android,
.introduction-version .web
{
    transition: all 0.4s ease-in-out;
    -webkit-transition: All 0.4s ease-in-out;
    -moz-transition: All 0.4s ease-in-out;
    -o-transition: All 0.4s ease-in-out;
    display: block;
    margin: 30px auto;
    color: rgba(255, 255, 255, 1);
    text-align: center;
}
.introduction-version .android:hover,
.introduction-version .web:hover{
    transform: translate(0, -10px);
    -webkit-transform: translate(0,-10px);
    -moz-transform: translate(0,-10px);
    -o-transform: translate(0,-10px);
    -ms-transform: translate(0,-10px)
}

.introduction-version .android a,
.introduction-version .web a
{
    text-decoration: none
}

.introduction-linian{
    margin-top:50px;
}

/**/
/* Make the image fully responsive */
.carousel-inner img {
    width: 100%;
    height: 100%;
}